<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Relative href value on self link</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="icon" href="http://www.feedvalidator.org/favicon.ico" />
<link rel="shortcut icon" href="http://www.feedvalidator.org/favicon.ico" />
<style type="text/css" media="screen">@import "../../css/common.css";
@import "../../css/documentation.css";</style>
<script type="text/javascript"><!-- --></script>
<link rel="start" href="http://feedvalidator.org/docs/" title="Home" />
</head>
<body>
<div id="logo">
<h1><a href="../../"><span id="feed"><span id="f">F</span><span id="e1">E</span><span id="e2">E</span></span><span id="d">D</span> Validator</a></h1>
<p>Documentation</p>
<a class="skip" href="#startnavigation">Jump to navigation</a>
</div> <!--logo-->

<div id="main">
<h2>Message</h2>
<div class="docbody">
<p>Relative <code>href</code> value on <code>self</code> link</p>
</div>
<h2>Explanation</h2>

<div class="docbody">
<p>Link elements with a <code>rel="self"</code> attribute were originally designed to enable <a href="http://www.tbray.org/ongoing/When/200x/2005/01/28/HowToSubscribe">One Click Subscription</a>s.  In particular, they were designed to enable
user agents to find the original feed long after it had been fetched and
the memory of the original URI used to fetch the feed has been forgotten,
as may occur when a browser hands a feed off to an aggregator.</p>
<p>Of course, this only works if the link can be resolved to an absolute
URI using only the information contained within the feed itself.</p>
<p>Here are a few links to prior discussions on the topic:</p>
<ul>
<li><a href="http://intertwingly.net/blog/2007/09/15/One-More-Step-Forward#c1190134689">James Snell</a></li>
<li><a href="http://intertwingly.net/blog/2007/09/15/One-More-Step-Forward#c1190194512">Eric Scheid</a></li>
</ul>
</div>
<h2>Solution</h2>
<div class="docbody">
<p>Either make the value of the <code>href</code> attribute on this link an
absolute IRI, or add an <code>xml:base</code> attribute with a absolute IRI as its value on either this, or any enclosing, element.</p>
</div>
<h2>Not clear?  Disagree?</h2>
<div class="docbody">
<p>You might be able to find help in one of <a href="../howto/resources.html">these fine resources</a>.</p>
</div>

</div><!--main-->
<div class="centered">
<a name="startnavigation" id="startnavigation"></a>
<div class="navbarWrapper">
    <div class="navbarContent">
        <img class="borderTL" src="../../images/borderTL.gif" alt="" width="14" height="14" />
        <img class="borderTR" src="../../images/borderTR.gif" alt="" width="14" height="14" />

<p>
<a href="../../">Home</a> &middot;
<a href="../../about.html">About</a> &middot;
<a href="../../news/">News</a> &middot;
<a href="../../docs/">Docs</a> &middot;
<a href="../../terms.html">Terms</a>
</p>

        <div class="roundedCornerSpacer">&nbsp;</div>
    </div><!-- .content -->
    <div class="bottomCorners">
        <img class="borderBL" src="../../images/borderBL.gif" alt="" width="14" height="14" />
        <img class="borderBR" src="../../images/borderBR.gif" alt="" width="14" height="14" />
    </div><!-- .bottomCorners -->
</div><!-- .contentWrapper -->
</div><!-- .centered -->

<div class="centered">
<address>Copyright &copy; 2002-4 <a href="http://diveintomark.org/">Mark Pilgrim</a> and <a href="http://www.intertwingly.net/blog/">Sam Ruby</a></address>
</div>

</body>
</html>
